package com.hqyj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan("com.hqyj.mapper")
public class SpringBoot240131Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext run =
                SpringApplication.run(SpringBoot240131Application.class, args);
        Object user = run.getBean("user");
        System.out.println(user);

    }
}
